package com.xz;

import org.glassfish.jersey.jackson.JacksonFeature;
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;

/**
 * Created with IntelliJ IDEA.
 * User: mbao
 * Date: 14-3-13
 * Time: 下午8:26
 * To change this template use File | Settings | File Templates.
 */
public class Platform extends ResourceConfig {
    public Platform() {
        register(MultiPartFeature.class).register(JacksonFeature.class);
        register(MonitoringEventListener.class);
//        property(ServerProperties.MONITORING_STATISTICS_ENABLED,true);
    }
}